package model

import "time"

type SysRole struct {
	ID        uint      `gorm:"primaryKey;column:id"`
	Code      string    `gorm:"column:code"`
	Name      string    `gorm:"column:name"`
	Status    int8      `gorm:"column:status"`
	CreatedAt time.Time `gorm:"column:created_at"`
	UpdatedAt time.Time `gorm:"column:updated_at"`
}

func (SysRole) TableName() string {
	return "sys_roles"
}
